Skip to content

fix(fork): resolve upstream merge 4e6b1fa771 (2026-11-24) - #308

Merged
orbitingflea merged 1 commit into
catch-up/20261125-basefrom
catch-up/20261125
Nov 25, 2026
Merged

orbitingflea merged 1 commit into
catch-up/20261125-basefrom
catch-up/20261125

Conversation

@orbitingflea

@orbitingflea orbitingflea commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Why

Resolve 10 conflicted files and merge breaks from upstream 4e6b1fa771, 280 commits over fork main eb8a539412. Commit A 5422d07574 holds the raw merge with conflict markers. Commit B 8957e56d36 keeps upstream structure so the diff shows only manual edits.

Behaviour change

Behaviour change: no

Fork behaviour stays. Upstream behaviour arrives from commit A.

What changed

Commit B moves Codex helpers to codexAccount.ts, guards FYI self-settle, updates the Chrome pin and agentContextBudget.json, and reformats one file. See the appendix.

Scope

Only merge fixes over commit A are in scope. No suppression comments or fork UI text changed. Merge and deploy follow review.

Tradeoffs

Keeping Codex helpers in CodexAdapterV2.ts avoids a new file, yet adds about 35 fork lines to an upstream file.

Blast Radius

This PR adds no migrations. Commit A adds five in apps/server/src/persistence/Migrations/: 112_LayoutCommandApprovals.ts, 113_WorkflowSkippedRuns.ts, 114_WorkflowRunIndexes.ts, 115_WorkflowRunTags.ts, and 116_ForkHistoryMembership.ts. CI's Agent context budget job fails on commit A's conflict markers.

Verification

Checks ran on 8957e56d36.

  • 43-package typecheck, fmt, lint, knip, focused suites, and previewChrome.test.ts passed.
  • Two reviewers from separate model vendors ran adversarial checks with no findings.
  • check:changed: format, lint, knip, GraphQL, typecheck and React Compiler pass; the 10 test failures under full-run load all pass alone.
Per-file changes

In apps/server/src/:

Other files:

  • packages/provider-opencode/src/server/v2/adapter.ts. Upstream fix(server): OpenCode steers keep their $skill mentions pingdotgg/t3code#42141 moved parsing to skillsMentioned(location, text). Passes post-handoff text so those mentions are not turn skills.
  • apps/web/src/components/Sidebar.tsx and chat/timelineMinimapItems.ts. Upstream's triage operate check precedes the fork display mode action. Minimap takes upstream fix(web): timeline minimap previews no longer cut an emoji in half pingdotgg/t3code#42575 emoji-safe markdownPlainText cuts where single-tilde already lives.
  • Verification. Focused passes: server 1086 in 14 files, FYI and ThreadManagementService 112 in 12, OpenCode 310 in 17, web 142 unit, 16 browser, and 39 display mode. Commit A adds 116_ForkHistoryMembership.test.ts. Prior check:changed passed lint, knip, GraphQL, typecheck, and React Compiler. Format failed on antigravityAccountEmail.ts, now fixed. Tests passed 7923 of 7933 with 5 failures: previewChrome.test.ts, now fixed, two ChatView.browser.test.tsx and one timelineReaderLine.browser.test.tsx tests that fail under load and pass alone at 34 of 34, and GitVcsDriverCore.test.ts utf16le root-conflict merge, which also times out at 120 s on upstream 4e6b1fa771.

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L labels Nov 25, 2026
Resolves the 10 conflicted files of commit A (5422d07) and the merge
breaks:

- Identify.ts takes upstream's version (pingdotgg#42299 drops Codex and Claude
  account ids from analytics). The Codex account-change restart (#29)
  keeps its auth.json reader in the fork-only file fork/codexAccount.ts.
- AgentSessionScanner: the checkout cache check joins upstream's new
  isT3OwnedPath (pingdotgg#42036).
- GitVcsDriver, storageCleanup, cli/thread: imports from both sides.
- OpenCode: upstream's skillsMentioned(location, text) gets the text
  after the inline context (pingdotgg#42141).
- Sidebar: upstream's triage-aware operate check, then the fork's
  display mode action.
- Minimap: upstream's markdownPlainText preview (pingdotgg#42575), which already
  keeps single tildes.
- AcpAdapterV2.test: upstream's startup phase checks and the fork's
  account checks.
- settleAfterRun's new steer check (pingdotgg#42092) ignores FYI items, which
  are no user input; FyiSettle.test mocks turnItems and covers it.
- AntigravityAdapterV2.test: new upstream test passes profileDirectory.
- agentContextBudget.json: measured values.
- fork/previewChrome.ts: full Chrome pin follows upstream's
  PreviewBrowser.VERSION 158.0.8127.88 (pingdotgg#42043), with the archive sizes
  and sha256 of that build.
- fork/antigravityAccountEmail.ts: upstream's formatter output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ No successful main baseline artifact is available yet. This run establishes the initial measurement.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire — 5.0 KiB — 6.8 KiB ✅
Codex Thread snapshot wire — 3.8 KiB — 4.9 KiB ✅
Codex Live turn WebSocket wire — 1.2 KiB — 2.0 KiB ✅
Codex Live turn WebSocket decoded — 21.5 KiB — 24.4 KiB ✅
Codex Live turn messages — 1 — 8 ✅
Claude Total thread wire — 5.0 KiB — 6.8 KiB ✅
Claude Thread snapshot wire — 3.8 KiB — 4.9 KiB ✅
Claude Live turn WebSocket wire — 1.2 KiB — 2.0 KiB ✅
Claude Live turn WebSocket decoded — 21.9 KiB — 24.4 KiB ✅
Claude Live turn messages — 1 — 8 ✅

Other scenarios

No main baseline exists yet for these 64 scenario measurements.

All 64 scenario measurements
Provider Scenario Metric Main baseline This PR Impact PR ceiling
Codex short turn resume WebSocket decoded — 10.5 KiB — 12.7 KiB ✅
Codex short turn resume WebSocket messages — 2 — 2 ✅
Codex long turn running, cold open HTTP decoded — 281.7 KiB — 302.7 KiB ✅
Codex long turn running, cold open rows — 75 — 75 ✅
Codex long turn running, history page HTTP decoded — 92.4 KiB — 107.4 KiB ✅
Codex long turn running, history page rows — 75 — 75 ✅
Codex long turn finished, cold open HTTP decoded — 381.5 KiB — 410.2 KiB ✅
Codex long turn finished, cold open rows — 151 — 151 ✅
Codex long turn finished, socket cold open WebSocket decoded — 381.6 KiB — 410.2 KiB ✅
Codex long turn finished, socket cold open WebSocket messages — 2 — 2 ✅
Codex long turn finished, socket cold open rows — 151 — 151 ✅
Codex long turn finished, work page HTTP decoded — 186.2 KiB — 200.2 KiB ✅
Codex long turn finished, work page rows — 150 — 150 ✅
Codex idle thread resume WebSocket decoded — 65 B — 200 B ✅
Codex idle thread resume WebSocket messages — 1 — 1 ✅
Codex fleet shell snapshot HTTP decoded — 42.4 KiB — 53.7 KiB ✅
Codex fleet shell snapshot rows — 27 — 27 ✅
Codex fleet shell subscribe WebSocket decoded — 65 B — 200 B ✅
Codex fleet shell subscribe WebSocket messages — 1 — 1 ✅
Codex fleet shell resume check HTTP decoded — 18 B — 100 B ✅
Codex fleet shell resume check rows — 0 — 0 ✅
Codex stale shell reload HTTP decoded — 42.4 KiB — 53.7 KiB ✅
Codex stale shell reload rows — 27 — 27 ✅
Codex stale shell resume WebSocket decoded — 140 B — 400 B ✅
Codex stale shell resume WebSocket messages — 2 — 2 ✅
Codex stale todo list cold open HTTP decoded — 72.4 KiB — 83.0 KiB ✅
Codex stale todo list cold open rows — 75 — 75 ✅
Codex stale todo list cold open nodes — 2 — 4 ✅
Codex stale todo list cold open subagents — 2 — 4 ✅
Codex stale todo list cold open plans — 1 — 2 ✅
Codex stale todo list cold open providerTurns — 1 — 2 ✅
Codex stale todo list cold open checkpoints — 1 — 2 ✅
Claude short turn resume WebSocket decoded — 10.6 KiB — 12.7 KiB ✅
Claude short turn resume WebSocket messages — 2 — 2 ✅
Claude long turn running, cold open HTTP decoded — 283.3 KiB — 302.7 KiB ✅
Claude long turn running, cold open rows — 75 — 75 ✅
Claude long turn running, history page HTTP decoded — 93.4 KiB — 107.4 KiB ✅
Claude long turn running, history page rows — 75 — 75 ✅
Claude long turn finished, cold open HTTP decoded — 384.2 KiB — 410.2 KiB ✅
Claude long turn finished, cold open rows — 151 — 151 ✅
Claude long turn finished, socket cold open WebSocket decoded — 384.3 KiB — 410.2 KiB ✅
Claude long turn finished, socket cold open WebSocket messages — 2 — 2 ✅
Claude long turn finished, socket cold open rows — 151 — 151 ✅
Claude long turn finished, work page HTTP decoded — 188.1 KiB — 200.2 KiB ✅
Claude long turn finished, work page rows — 150 — 150 ✅
Claude idle thread resume WebSocket decoded — 66 B — 200 B ✅
Claude idle thread resume WebSocket messages — 1 — 1 ✅
Claude fleet shell snapshot HTTP decoded — 43.0 KiB — 53.7 KiB ✅
Claude fleet shell snapshot rows — 27 — 27 ✅
Claude fleet shell subscribe WebSocket decoded — 66 B — 200 B ✅
Claude fleet shell subscribe WebSocket messages — 1 — 1 ✅
Claude fleet shell resume check HTTP decoded — 18 B — 100 B ✅
Claude fleet shell resume check rows — 0 — 0 ✅
Claude stale shell reload HTTP decoded — 43.0 KiB — 53.7 KiB ✅
Claude stale shell reload rows — 27 — 27 ✅
Claude stale shell resume WebSocket decoded — 140 B — 400 B ✅
Claude stale shell resume WebSocket messages — 2 — 2 ✅
Claude stale todo list cold open HTTP decoded — 73.4 KiB — 83.0 KiB ✅
Claude stale todo list cold open rows — 75 — 75 ✅
Claude stale todo list cold open nodes — 2 — 4 ✅
Claude stale todo list cold open subagents — 2 — 4 ✅
Claude stale todo list cold open plans — 1 — 2 ✅
Claude stale todo list cold open providerTurns — 1 — 2 ✅
Claude stale todo list cold open checkpoints — 1 — 2 ✅

Baseline: unavailable · PR result: 8957e56 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@orbitingflea
orbitingflea merged commit 8957e56 into catch-up/20261125-base Nov 25, 2026
25 of 26 checks passed
@orbitingflea
orbitingflea deleted the catch-up/20261125 branch November 25, 2026 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant